package com.hllxd.hism.star.basic.service.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TblDataAdtypeDefineExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TblDataAdtypeDefineExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andAttrNameIsNull() {
            addCriterion("attr_name is null");
            return (Criteria) this;
        }

        public Criteria andAttrNameIsNotNull() {
            addCriterion("attr_name is not null");
            return (Criteria) this;
        }

        public Criteria andAttrNameEqualTo(String value) {
            addCriterion("attr_name =", value, "attrName");
            return (Criteria) this;
        }

        public Criteria andAttrNameNotEqualTo(String value) {
            addCriterion("attr_name <>", value, "attrName");
            return (Criteria) this;
        }

        public Criteria andAttrNameGreaterThan(String value) {
            addCriterion("attr_name >", value, "attrName");
            return (Criteria) this;
        }

        public Criteria andAttrNameGreaterThanOrEqualTo(String value) {
            addCriterion("attr_name >=", value, "attrName");
            return (Criteria) this;
        }

        public Criteria andAttrNameLessThan(String value) {
            addCriterion("attr_name <", value, "attrName");
            return (Criteria) this;
        }

        public Criteria andAttrNameLessThanOrEqualTo(String value) {
            addCriterion("attr_name <=", value, "attrName");
            return (Criteria) this;
        }

        public Criteria andAttrNameLike(String value) {
            addCriterion("attr_name like", value, "attrName");
            return (Criteria) this;
        }

        public Criteria andAttrNameNotLike(String value) {
            addCriterion("attr_name not like", value, "attrName");
            return (Criteria) this;
        }

        public Criteria andAttrNameIn(List<String> values) {
            addCriterion("attr_name in", values, "attrName");
            return (Criteria) this;
        }

        public Criteria andAttrNameNotIn(List<String> values) {
            addCriterion("attr_name not in", values, "attrName");
            return (Criteria) this;
        }

        public Criteria andAttrNameBetween(String value1, String value2) {
            addCriterion("attr_name between", value1, value2, "attrName");
            return (Criteria) this;
        }

        public Criteria andAttrNameNotBetween(String value1, String value2) {
            addCriterion("attr_name not between", value1, value2, "attrName");
            return (Criteria) this;
        }

        public Criteria andAttrValueIsNull() {
            addCriterion("attr_value is null");
            return (Criteria) this;
        }

        public Criteria andAttrValueIsNotNull() {
            addCriterion("attr_value is not null");
            return (Criteria) this;
        }

        public Criteria andAttrValueEqualTo(String value) {
            addCriterion("attr_value =", value, "attrValue");
            return (Criteria) this;
        }

        public Criteria andAttrValueNotEqualTo(String value) {
            addCriterion("attr_value <>", value, "attrValue");
            return (Criteria) this;
        }

        public Criteria andAttrValueGreaterThan(String value) {
            addCriterion("attr_value >", value, "attrValue");
            return (Criteria) this;
        }

        public Criteria andAttrValueGreaterThanOrEqualTo(String value) {
            addCriterion("attr_value >=", value, "attrValue");
            return (Criteria) this;
        }

        public Criteria andAttrValueLessThan(String value) {
            addCriterion("attr_value <", value, "attrValue");
            return (Criteria) this;
        }

        public Criteria andAttrValueLessThanOrEqualTo(String value) {
            addCriterion("attr_value <=", value, "attrValue");
            return (Criteria) this;
        }

        public Criteria andAttrValueLike(String value) {
            addCriterion("attr_value like", value, "attrValue");
            return (Criteria) this;
        }

        public Criteria andAttrValueNotLike(String value) {
            addCriterion("attr_value not like", value, "attrValue");
            return (Criteria) this;
        }

        public Criteria andAttrValueIn(List<String> values) {
            addCriterion("attr_value in", values, "attrValue");
            return (Criteria) this;
        }

        public Criteria andAttrValueNotIn(List<String> values) {
            addCriterion("attr_value not in", values, "attrValue");
            return (Criteria) this;
        }

        public Criteria andAttrValueBetween(String value1, String value2) {
            addCriterion("attr_value between", value1, value2, "attrValue");
            return (Criteria) this;
        }

        public Criteria andAttrValueNotBetween(String value1, String value2) {
            addCriterion("attr_value not between", value1, value2, "attrValue");
            return (Criteria) this;
        }

        public Criteria andDispValListIsNull() {
            addCriterion("disp_val_list is null");
            return (Criteria) this;
        }

        public Criteria andDispValListIsNotNull() {
            addCriterion("disp_val_list is not null");
            return (Criteria) this;
        }

        public Criteria andDispValListEqualTo(String value) {
            addCriterion("disp_val_list =", value, "dispValList");
            return (Criteria) this;
        }

        public Criteria andDispValListNotEqualTo(String value) {
            addCriterion("disp_val_list <>", value, "dispValList");
            return (Criteria) this;
        }

        public Criteria andDispValListGreaterThan(String value) {
            addCriterion("disp_val_list >", value, "dispValList");
            return (Criteria) this;
        }

        public Criteria andDispValListGreaterThanOrEqualTo(String value) {
            addCriterion("disp_val_list >=", value, "dispValList");
            return (Criteria) this;
        }

        public Criteria andDispValListLessThan(String value) {
            addCriterion("disp_val_list <", value, "dispValList");
            return (Criteria) this;
        }

        public Criteria andDispValListLessThanOrEqualTo(String value) {
            addCriterion("disp_val_list <=", value, "dispValList");
            return (Criteria) this;
        }

        public Criteria andDispValListLike(String value) {
            addCriterion("disp_val_list like", value, "dispValList");
            return (Criteria) this;
        }

        public Criteria andDispValListNotLike(String value) {
            addCriterion("disp_val_list not like", value, "dispValList");
            return (Criteria) this;
        }

        public Criteria andDispValListIn(List<String> values) {
            addCriterion("disp_val_list in", values, "dispValList");
            return (Criteria) this;
        }

        public Criteria andDispValListNotIn(List<String> values) {
            addCriterion("disp_val_list not in", values, "dispValList");
            return (Criteria) this;
        }

        public Criteria andDispValListBetween(String value1, String value2) {
            addCriterion("disp_val_list between", value1, value2, "dispValList");
            return (Criteria) this;
        }

        public Criteria andDispValListNotBetween(String value1, String value2) {
            addCriterion("disp_val_list not between", value1, value2, "dispValList");
            return (Criteria) this;
        }

        public Criteria andTypeAdIsNull() {
            addCriterion("type_ad is null");
            return (Criteria) this;
        }

        public Criteria andTypeAdIsNotNull() {
            addCriterion("type_ad is not null");
            return (Criteria) this;
        }

        public Criteria andTypeAdEqualTo(String value) {
            addCriterion("type_ad =", value, "typeAd");
            return (Criteria) this;
        }

        public Criteria andTypeAdNotEqualTo(String value) {
            addCriterion("type_ad <>", value, "typeAd");
            return (Criteria) this;
        }

        public Criteria andTypeAdGreaterThan(String value) {
            addCriterion("type_ad >", value, "typeAd");
            return (Criteria) this;
        }

        public Criteria andTypeAdGreaterThanOrEqualTo(String value) {
            addCriterion("type_ad >=", value, "typeAd");
            return (Criteria) this;
        }

        public Criteria andTypeAdLessThan(String value) {
            addCriterion("type_ad <", value, "typeAd");
            return (Criteria) this;
        }

        public Criteria andTypeAdLessThanOrEqualTo(String value) {
            addCriterion("type_ad <=", value, "typeAd");
            return (Criteria) this;
        }

        public Criteria andTypeAdLike(String value) {
            addCriterion("type_ad like", value, "typeAd");
            return (Criteria) this;
        }

        public Criteria andTypeAdNotLike(String value) {
            addCriterion("type_ad not like", value, "typeAd");
            return (Criteria) this;
        }

        public Criteria andTypeAdIn(List<String> values) {
            addCriterion("type_ad in", values, "typeAd");
            return (Criteria) this;
        }

        public Criteria andTypeAdNotIn(List<String> values) {
            addCriterion("type_ad not in", values, "typeAd");
            return (Criteria) this;
        }

        public Criteria andTypeAdBetween(String value1, String value2) {
            addCriterion("type_ad between", value1, value2, "typeAd");
            return (Criteria) this;
        }

        public Criteria andTypeAdNotBetween(String value1, String value2) {
            addCriterion("type_ad not between", value1, value2, "typeAd");
            return (Criteria) this;
        }

        public Criteria andIsLegoIsNull() {
            addCriterion("is_lego is null");
            return (Criteria) this;
        }

        public Criteria andIsLegoIsNotNull() {
            addCriterion("is_lego is not null");
            return (Criteria) this;
        }

        public Criteria andIsLegoEqualTo(Byte value) {
            addCriterion("is_lego =", value, "isLego");
            return (Criteria) this;
        }

        public Criteria andIsLegoNotEqualTo(Byte value) {
            addCriterion("is_lego <>", value, "isLego");
            return (Criteria) this;
        }

        public Criteria andIsLegoGreaterThan(Byte value) {
            addCriterion("is_lego >", value, "isLego");
            return (Criteria) this;
        }

        public Criteria andIsLegoGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_lego >=", value, "isLego");
            return (Criteria) this;
        }

        public Criteria andIsLegoLessThan(Byte value) {
            addCriterion("is_lego <", value, "isLego");
            return (Criteria) this;
        }

        public Criteria andIsLegoLessThanOrEqualTo(Byte value) {
            addCriterion("is_lego <=", value, "isLego");
            return (Criteria) this;
        }

        public Criteria andIsLegoIn(List<Byte> values) {
            addCriterion("is_lego in", values, "isLego");
            return (Criteria) this;
        }

        public Criteria andIsLegoNotIn(List<Byte> values) {
            addCriterion("is_lego not in", values, "isLego");
            return (Criteria) this;
        }

        public Criteria andIsLegoBetween(Byte value1, Byte value2) {
            addCriterion("is_lego between", value1, value2, "isLego");
            return (Criteria) this;
        }

        public Criteria andIsLegoNotBetween(Byte value1, Byte value2) {
            addCriterion("is_lego not between", value1, value2, "isLego");
            return (Criteria) this;
        }

        public Criteria andIsChargingIsNull() {
            addCriterion("is_charging is null");
            return (Criteria) this;
        }

        public Criteria andIsChargingIsNotNull() {
            addCriterion("is_charging is not null");
            return (Criteria) this;
        }

        public Criteria andIsChargingEqualTo(Byte value) {
            addCriterion("is_charging =", value, "isCharging");
            return (Criteria) this;
        }

        public Criteria andIsChargingNotEqualTo(Byte value) {
            addCriterion("is_charging <>", value, "isCharging");
            return (Criteria) this;
        }

        public Criteria andIsChargingGreaterThan(Byte value) {
            addCriterion("is_charging >", value, "isCharging");
            return (Criteria) this;
        }

        public Criteria andIsChargingGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_charging >=", value, "isCharging");
            return (Criteria) this;
        }

        public Criteria andIsChargingLessThan(Byte value) {
            addCriterion("is_charging <", value, "isCharging");
            return (Criteria) this;
        }

        public Criteria andIsChargingLessThanOrEqualTo(Byte value) {
            addCriterion("is_charging <=", value, "isCharging");
            return (Criteria) this;
        }

        public Criteria andIsChargingIn(List<Byte> values) {
            addCriterion("is_charging in", values, "isCharging");
            return (Criteria) this;
        }

        public Criteria andIsChargingNotIn(List<Byte> values) {
            addCriterion("is_charging not in", values, "isCharging");
            return (Criteria) this;
        }

        public Criteria andIsChargingBetween(Byte value1, Byte value2) {
            addCriterion("is_charging between", value1, value2, "isCharging");
            return (Criteria) this;
        }

        public Criteria andIsChargingNotBetween(Byte value1, Byte value2) {
            addCriterion("is_charging not between", value1, value2, "isCharging");
            return (Criteria) this;
        }

        public Criteria andTypeChargingIsNull() {
            addCriterion("type_charging is null");
            return (Criteria) this;
        }

        public Criteria andTypeChargingIsNotNull() {
            addCriterion("type_charging is not null");
            return (Criteria) this;
        }

        public Criteria andTypeChargingEqualTo(String value) {
            addCriterion("type_charging =", value, "typeCharging");
            return (Criteria) this;
        }

        public Criteria andTypeChargingNotEqualTo(String value) {
            addCriterion("type_charging <>", value, "typeCharging");
            return (Criteria) this;
        }

        public Criteria andTypeChargingGreaterThan(String value) {
            addCriterion("type_charging >", value, "typeCharging");
            return (Criteria) this;
        }

        public Criteria andTypeChargingGreaterThanOrEqualTo(String value) {
            addCriterion("type_charging >=", value, "typeCharging");
            return (Criteria) this;
        }

        public Criteria andTypeChargingLessThan(String value) {
            addCriterion("type_charging <", value, "typeCharging");
            return (Criteria) this;
        }

        public Criteria andTypeChargingLessThanOrEqualTo(String value) {
            addCriterion("type_charging <=", value, "typeCharging");
            return (Criteria) this;
        }

        public Criteria andTypeChargingLike(String value) {
            addCriterion("type_charging like", value, "typeCharging");
            return (Criteria) this;
        }

        public Criteria andTypeChargingNotLike(String value) {
            addCriterion("type_charging not like", value, "typeCharging");
            return (Criteria) this;
        }

        public Criteria andTypeChargingIn(List<String> values) {
            addCriterion("type_charging in", values, "typeCharging");
            return (Criteria) this;
        }

        public Criteria andTypeChargingNotIn(List<String> values) {
            addCriterion("type_charging not in", values, "typeCharging");
            return (Criteria) this;
        }

        public Criteria andTypeChargingBetween(String value1, String value2) {
            addCriterion("type_charging between", value1, value2, "typeCharging");
            return (Criteria) this;
        }

        public Criteria andTypeChargingNotBetween(String value1, String value2) {
            addCriterion("type_charging not between", value1, value2, "typeCharging");
            return (Criteria) this;
        }

        public Criteria andLegoProductidIsNull() {
            addCriterion("lego_productid is null");
            return (Criteria) this;
        }

        public Criteria andLegoProductidIsNotNull() {
            addCriterion("lego_productid is not null");
            return (Criteria) this;
        }

        public Criteria andLegoProductidEqualTo(String value) {
            addCriterion("lego_productid =", value, "legoProductid");
            return (Criteria) this;
        }

        public Criteria andLegoProductidNotEqualTo(String value) {
            addCriterion("lego_productid <>", value, "legoProductid");
            return (Criteria) this;
        }

        public Criteria andLegoProductidGreaterThan(String value) {
            addCriterion("lego_productid >", value, "legoProductid");
            return (Criteria) this;
        }

        public Criteria andLegoProductidGreaterThanOrEqualTo(String value) {
            addCriterion("lego_productid >=", value, "legoProductid");
            return (Criteria) this;
        }

        public Criteria andLegoProductidLessThan(String value) {
            addCriterion("lego_productid <", value, "legoProductid");
            return (Criteria) this;
        }

        public Criteria andLegoProductidLessThanOrEqualTo(String value) {
            addCriterion("lego_productid <=", value, "legoProductid");
            return (Criteria) this;
        }

        public Criteria andLegoProductidLike(String value) {
            addCriterion("lego_productid like", value, "legoProductid");
            return (Criteria) this;
        }

        public Criteria andLegoProductidNotLike(String value) {
            addCriterion("lego_productid not like", value, "legoProductid");
            return (Criteria) this;
        }

        public Criteria andLegoProductidIn(List<String> values) {
            addCriterion("lego_productid in", values, "legoProductid");
            return (Criteria) this;
        }

        public Criteria andLegoProductidNotIn(List<String> values) {
            addCriterion("lego_productid not in", values, "legoProductid");
            return (Criteria) this;
        }

        public Criteria andLegoProductidBetween(String value1, String value2) {
            addCriterion("lego_productid between", value1, value2, "legoProductid");
            return (Criteria) this;
        }

        public Criteria andLegoProductidNotBetween(String value1, String value2) {
            addCriterion("lego_productid not between", value1, value2, "legoProductid");
            return (Criteria) this;
        }

        public Criteria andOwnerIsNull() {
            addCriterion("owner is null");
            return (Criteria) this;
        }

        public Criteria andOwnerIsNotNull() {
            addCriterion("owner is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerEqualTo(String value) {
            addCriterion("owner =", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerNotEqualTo(String value) {
            addCriterion("owner <>", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerGreaterThan(String value) {
            addCriterion("owner >", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerGreaterThanOrEqualTo(String value) {
            addCriterion("owner >=", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerLessThan(String value) {
            addCriterion("owner <", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerLessThanOrEqualTo(String value) {
            addCriterion("owner <=", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerLike(String value) {
            addCriterion("owner like", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerNotLike(String value) {
            addCriterion("owner not like", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerIn(List<String> values) {
            addCriterion("owner in", values, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerNotIn(List<String> values) {
            addCriterion("owner not in", values, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerBetween(String value1, String value2) {
            addCriterion("owner between", value1, value2, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerNotBetween(String value1, String value2) {
            addCriterion("owner not between", value1, value2, "owner");
            return (Criteria) this;
        }

        public Criteria andIsValidIsNull() {
            addCriterion("is_valid is null");
            return (Criteria) this;
        }

        public Criteria andIsValidIsNotNull() {
            addCriterion("is_valid is not null");
            return (Criteria) this;
        }

        public Criteria andIsValidEqualTo(Byte value) {
            addCriterion("is_valid =", value, "isValid");
            return (Criteria) this;
        }

        public Criteria andIsValidNotEqualTo(Byte value) {
            addCriterion("is_valid <>", value, "isValid");
            return (Criteria) this;
        }

        public Criteria andIsValidGreaterThan(Byte value) {
            addCriterion("is_valid >", value, "isValid");
            return (Criteria) this;
        }

        public Criteria andIsValidGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_valid >=", value, "isValid");
            return (Criteria) this;
        }

        public Criteria andIsValidLessThan(Byte value) {
            addCriterion("is_valid <", value, "isValid");
            return (Criteria) this;
        }

        public Criteria andIsValidLessThanOrEqualTo(Byte value) {
            addCriterion("is_valid <=", value, "isValid");
            return (Criteria) this;
        }

        public Criteria andIsValidIn(List<Byte> values) {
            addCriterion("is_valid in", values, "isValid");
            return (Criteria) this;
        }

        public Criteria andIsValidNotIn(List<Byte> values) {
            addCriterion("is_valid not in", values, "isValid");
            return (Criteria) this;
        }

        public Criteria andIsValidBetween(Byte value1, Byte value2) {
            addCriterion("is_valid between", value1, value2, "isValid");
            return (Criteria) this;
        }

        public Criteria andIsValidNotBetween(Byte value1, Byte value2) {
            addCriterion("is_valid not between", value1, value2, "isValid");
            return (Criteria) this;
        }

        public Criteria andValidTimeIsNull() {
            addCriterion("valid_time is null");
            return (Criteria) this;
        }

        public Criteria andValidTimeIsNotNull() {
            addCriterion("valid_time is not null");
            return (Criteria) this;
        }

        public Criteria andValidTimeEqualTo(Date value) {
            addCriterion("valid_time =", value, "validTime");
            return (Criteria) this;
        }

        public Criteria andValidTimeNotEqualTo(Date value) {
            addCriterion("valid_time <>", value, "validTime");
            return (Criteria) this;
        }

        public Criteria andValidTimeGreaterThan(Date value) {
            addCriterion("valid_time >", value, "validTime");
            return (Criteria) this;
        }

        public Criteria andValidTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("valid_time >=", value, "validTime");
            return (Criteria) this;
        }

        public Criteria andValidTimeLessThan(Date value) {
            addCriterion("valid_time <", value, "validTime");
            return (Criteria) this;
        }

        public Criteria andValidTimeLessThanOrEqualTo(Date value) {
            addCriterion("valid_time <=", value, "validTime");
            return (Criteria) this;
        }

        public Criteria andValidTimeIn(List<Date> values) {
            addCriterion("valid_time in", values, "validTime");
            return (Criteria) this;
        }

        public Criteria andValidTimeNotIn(List<Date> values) {
            addCriterion("valid_time not in", values, "validTime");
            return (Criteria) this;
        }

        public Criteria andValidTimeBetween(Date value1, Date value2) {
            addCriterion("valid_time between", value1, value2, "validTime");
            return (Criteria) this;
        }

        public Criteria andValidTimeNotBetween(Date value1, Date value2) {
            addCriterion("valid_time not between", value1, value2, "validTime");
            return (Criteria) this;
        }

        public Criteria andCreatorIsNull() {
            addCriterion("creator is null");
            return (Criteria) this;
        }

        public Criteria andCreatorIsNotNull() {
            addCriterion("creator is not null");
            return (Criteria) this;
        }

        public Criteria andCreatorEqualTo(String value) {
            addCriterion("creator =", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotEqualTo(String value) {
            addCriterion("creator <>", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorGreaterThan(String value) {
            addCriterion("creator >", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorGreaterThanOrEqualTo(String value) {
            addCriterion("creator >=", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLessThan(String value) {
            addCriterion("creator <", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLessThanOrEqualTo(String value) {
            addCriterion("creator <=", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLike(String value) {
            addCriterion("creator like", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotLike(String value) {
            addCriterion("creator not like", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorIn(List<String> values) {
            addCriterion("creator in", values, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotIn(List<String> values) {
            addCriterion("creator not in", values, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorBetween(String value1, String value2) {
            addCriterion("creator between", value1, value2, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotBetween(String value1, String value2) {
            addCriterion("creator not between", value1, value2, "creator");
            return (Criteria) this;
        }

        public Criteria andLastOperatorIsNull() {
            addCriterion("last_operator is null");
            return (Criteria) this;
        }

        public Criteria andLastOperatorIsNotNull() {
            addCriterion("last_operator is not null");
            return (Criteria) this;
        }

        public Criteria andLastOperatorEqualTo(String value) {
            addCriterion("last_operator =", value, "lastOperator");
            return (Criteria) this;
        }

        public Criteria andLastOperatorNotEqualTo(String value) {
            addCriterion("last_operator <>", value, "lastOperator");
            return (Criteria) this;
        }

        public Criteria andLastOperatorGreaterThan(String value) {
            addCriterion("last_operator >", value, "lastOperator");
            return (Criteria) this;
        }

        public Criteria andLastOperatorGreaterThanOrEqualTo(String value) {
            addCriterion("last_operator >=", value, "lastOperator");
            return (Criteria) this;
        }

        public Criteria andLastOperatorLessThan(String value) {
            addCriterion("last_operator <", value, "lastOperator");
            return (Criteria) this;
        }

        public Criteria andLastOperatorLessThanOrEqualTo(String value) {
            addCriterion("last_operator <=", value, "lastOperator");
            return (Criteria) this;
        }

        public Criteria andLastOperatorLike(String value) {
            addCriterion("last_operator like", value, "lastOperator");
            return (Criteria) this;
        }

        public Criteria andLastOperatorNotLike(String value) {
            addCriterion("last_operator not like", value, "lastOperator");
            return (Criteria) this;
        }

        public Criteria andLastOperatorIn(List<String> values) {
            addCriterion("last_operator in", values, "lastOperator");
            return (Criteria) this;
        }

        public Criteria andLastOperatorNotIn(List<String> values) {
            addCriterion("last_operator not in", values, "lastOperator");
            return (Criteria) this;
        }

        public Criteria andLastOperatorBetween(String value1, String value2) {
            addCriterion("last_operator between", value1, value2, "lastOperator");
            return (Criteria) this;
        }

        public Criteria andLastOperatorNotBetween(String value1, String value2) {
            addCriterion("last_operator not between", value1, value2, "lastOperator");
            return (Criteria) this;
        }

        public Criteria andActionIsNull() {
            addCriterion("action is null");
            return (Criteria) this;
        }

        public Criteria andActionIsNotNull() {
            addCriterion("action is not null");
            return (Criteria) this;
        }

        public Criteria andActionEqualTo(Byte value) {
            addCriterion("action =", value, "action");
            return (Criteria) this;
        }

        public Criteria andActionNotEqualTo(Byte value) {
            addCriterion("action <>", value, "action");
            return (Criteria) this;
        }

        public Criteria andActionGreaterThan(Byte value) {
            addCriterion("action >", value, "action");
            return (Criteria) this;
        }

        public Criteria andActionGreaterThanOrEqualTo(Byte value) {
            addCriterion("action >=", value, "action");
            return (Criteria) this;
        }

        public Criteria andActionLessThan(Byte value) {
            addCriterion("action <", value, "action");
            return (Criteria) this;
        }

        public Criteria andActionLessThanOrEqualTo(Byte value) {
            addCriterion("action <=", value, "action");
            return (Criteria) this;
        }

        public Criteria andActionIn(List<Byte> values) {
            addCriterion("action in", values, "action");
            return (Criteria) this;
        }

        public Criteria andActionNotIn(List<Byte> values) {
            addCriterion("action not in", values, "action");
            return (Criteria) this;
        }

        public Criteria andActionBetween(Byte value1, Byte value2) {
            addCriterion("action between", value1, value2, "action");
            return (Criteria) this;
        }

        public Criteria andActionNotBetween(Byte value1, Byte value2) {
            addCriterion("action not between", value1, value2, "action");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}
